package com.fxkj.cloud.drms.domain.commandSettingHistory.repository;

import com.fxkj.cloud.drms.domain.commandSettingHistory.CommandSettingHistoryDomain;
import com.fxkj.common.service.BaseDomainRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.UUID;

/**
 * <p>description: </p>
 *
 * @author ww
 * @date 2025-03-25 11:05:54
 */
public interface CommandSettingHistoryDomainRepository extends BaseDomainRepository<CommandSettingHistoryDomain> {

    Page<CommandSettingHistoryDomain> page(Pageable page, UUID deviceId, Integer attributeType, Long startTime, Long endTime, String deviceName, String username, UUID organizationId);

    List<CommandSettingHistoryDomain> getLatestCommandSettingHistoryKv(UUID deviceId, List<String> attributeKeys, UUID organizationId);
}
